package com.yinxin.reflection;

/**
 * @author yinxin
 * @Title:
 * @Package
 * @Description:
 * @date 2022/1/1115:25
 */
public class User {
   private int age;
   private String name;
   private String gander;

   public User() {
   }

   public User(int age, String name, String gander) {
      this.age = age;
      this.name = name;
      this.gander = gander;
   }

   public int getAge() {
      return age;
   }

   public void setAge(int age) {
      this.age = age;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getGander() {
      return gander;
   }

   public void setGander(String gander) {
      this.gander = gander;
   }

   @Override
   public String toString() {
      return "User{" +
              "age=" + age +
              ", name='" + name + '\'' +
              ", gander='" + gander + '\'' +
              '}';
   }
}
